var screenHight,screenWidth;

$(function() {
	initWaterWorks();
	
})
function initWaterWorks() {
	screenHight=$(window).height(); //浏览器当前窗口可视区域高度
	screenWidth=$(window).width();	 //浏览器当前窗口可视区域宽度
	//登录框随屏幕大小变化而变化
	$("#loginForm").css({'width':850*screenWidth/1920+'px'});
	$("#loginForm").css({'height':510*screenHight/1080+'px'});
	$("#top").css({'width':850*screenWidth/1920+'px'});
	$("#top").css({'height':510*screenHight/1080+'px'});
	$("#inputEmail").css({'width':527*screenWidth/1920+'px'});
	$("#inputEmail").css({'height':50*screenHight/1080+'px'});
	$("#inputPassword").css({'width':527*screenWidth/1920+'px'});
	$("#inputPassword").css({'height':50*screenHight/1080+'px'});
	
	$("#remember").css({'width':239*screenWidth/1920+'px'});
	
	
	$("#submit").css({'width':239*screenWidth/1920+'px'});
	$("#submit").css({'height':50*screenHight/1080+'px'});
	$("#reset").css({'width':239*screenWidth/1920+'px'});
	$("#reset").css({'height':50*screenHight/1080+'px'});
	$("#buttonGroup").css({'width':527*screenWidth/1920+'px'});
}